 // 独立窗口打开url
const openFullWindowHaveBar = (url) => {
  let width = window.screen.availWidth - 10;
  let height = window.screen.availHeight - 50;
  let szFeatures = 'top=0,';
  szFeatures += 'left=0,';
  szFeatures += `width=${width},`;
  szFeatures += `height=${height},`;
  szFeatures += 'directories=no,';
  szFeatures += 'status=yes,toolbar=no,location=no,';
  szFeatures += 'menubar=no,';
  szFeatures += 'scrollbars=yes,';
  szFeatures += 'resizable=yes';
  window.open(url, '', szFeatures);
};
window.openFullWindowHaveBar = openFullWindowHaveBar;

// 开发模式时，设置为true,显示左侧栏，为了解决点击邮件模块走多次接口的问题
window.isDev = false;
